Aspect-Oriented Programming with AspectJTM the AspectJ.org team Xerox PARC
نویسندگان
چکیده
public aspect RemoteExceptionLogging { abstract pointcut logPoints();pointcut logPoints(); after() throwing (RemoteException e): logPoints() { log.println(“Remote call failed in: ” + thisJoinPoint.toString() + “(” + e + “).”); } } public aspect MyRMILogging extends RemoteExceptionLogging { pointcut logPoints(): receptions(* RegistryServer.*.*(..)) || receptions(private * RMIMessageBrokerImpl.*.*(..)); } abstract
منابع مشابه
Assessing Aspect-Oriented Programming and Design: Preliminary Results
Aspect-oriented programming is a new software design and implementation technique proposed by researchers at Xerox PARC. This project is assessing the claims of aspect-oriented programming to improve the software development cycle for particular kinds of applications. The project is divided into three experiments, the first of which has been completed. These experiments have been designed to in...
متن کاملThe Essence of AspectJ
In the construction of a large software system, it is inevitable that some aspects of program behavior will cut across the structure of the code. The changes that are needed to support a new feature, for example, may be spread across several different points in the original program, making them harder to maintain and harder to reuse. The designers of “aspect-oriented” programming languages aim ...
متن کاملProgramming with Aspectual Components
Aspect-oriented programming (AOP) controls tangling of concerns by isolating aspects that cross-cut each other into building blocks. Component-based programming (CBP) supports software development by isolating reusable building blocks that can be assembled and connected in many different ways. We show how AOP and CBP can be integrated by introducing a new component construct for programming cla...
متن کاملConnectors for Reusable Aspects
Aspect oriented programming AOP controls tangling of concerns by isolating aspects that cross cut each other into building blocks Component based programming CBP supports software development by isolating reusable building blocks that can be assembled and connected in many di erent ways We show how AOP and CBP can be integrated by introducing a new component construct for programming class coll...
متن کاملDistributed Systems Development: Can We Enhance Evolution by Using AspectJ?
Problems relating to modularity result in the under-performance of the object-oriented software development paradigm in a number of areas. Aspect-oriented software development (AOSD) is a relatively new technology that extends modularisation capabilities in computer software. In particular, crosscutting concerns can be modularised. A crosscutting concern arises in a software system when the imp...
متن کامل